package com.bw.user.user

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.bw.user.R
import com.bw.user.databinding.FragmentUserBinding

class UserFragment : Fragment() {

    private val v : FragmentUserBinding by lazy { FragmentUserBinding.inflate(LayoutInflater.from(requireContext())) }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        v.userPage.backImg.visibility = View.GONE
        v.userPage.moreImg.setImageResource(R.drawable.icon644)
        v.userPage.moreImg.setOnClickListener {  }
        v.userPage.titleTv.text = "用户"
        v.userNameTv.text = "Root"
        v.userIdentityTv.text = "管理员"
        return v.root
    }

}